package com.hhu.softpractise;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@MapperScan("com.hhu.softpractise.mapper")
@EnableScheduling           // 开启定时任务
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)  // 开启AOP
public class SoftPractiseApplication {

    public static void main(String[] args) {
        SpringApplication.run(SoftPractiseApplication.class, args);
    }
}
